package com.jr9z.jrjz.service;



import com.jr9z.jrjz.constants.PageDataResult;
import com.jr9z.jrjz.entity.BaseAdminRole;

import java.util.List;
import java.util.Map;


/**
 * @Description:AdminRoleService
 * @date: 11:10 2019-3-29
 * @param: null
 * @return:
 */
public interface AdminRoleService {

    PageDataResult getRoleList(Integer pageNum, Integer pageSize);

    List<BaseAdminRole> getRoles();

    BaseAdminRole findRoleById(Integer id);

    Map<String,Object> updateRole(BaseAdminRole role);

    Map<String,Object> delRole(Integer id, Integer status);

    Map<String,Object> recoverRole(Integer id, Integer status);

    Map<String,Object> addRole(BaseAdminRole role);

}
